#ifndef __HOVER_TRIGGER_H__
#define __HOVER_TRIGGER_H__

#include "timer/timer.h"

namespace MiniUI
{

class UIObject;

class HoverTrigger
{
public:
    HoverTrigger();
    ~HoverTrigger();
public:
    void Bind(UIObject* pObj);
    void Unbind(UIObject* pObj);
public:
    void TimerEvent(const Object* sender);
protected:
    UIObject* m_pObj;
    Timer* m_pTimer;
};

}

#endif